﻿using System;

namespace EditoneLib
{
    public class MonoTrack : BaseAudioTrack<MonoAudioClip>
    {
        public MonoTrack()
            : base()
        {
        }

        public override int NumChannels
        {
            get { return 1; }
        }

        public override void MapDefault(ChannelMapping mapping)
        {
            mapping.Map(this, 0, ChannelMapping.All, Volume);
        }

        public override Type[] SupportedClipTypes
        {
            get
            {
                return new[]
                {
                    typeof (MonoAudioClip)
                };
            }
        }
    }
}